#ifndef _TIM_H
	#define _TIM_H
	
#include "stm32f10x.h"

extern u8 set_n[2];
extern u8 set_channel;
extern u16 fre1;
extern u16 fre2;

void pwm_ctrl(u8 status);
void tim_init(void);

#endif